<template>
  <van-tabbar v-model="active" route>
    <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
    <van-tabbar-item icon="apps-o" to="/fn">分类</van-tabbar-item>
    <van-tabbar-item icon="records" to="/article">文章</van-tabbar-item>
    <van-tabbar-item icon="send-gift-o" to="/mystudy">我的学习</van-tabbar-item>
    <van-tabbar-item icon="user-circle-o" to="/user">个人中心</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  name: 'Tabbar',
  data() {
    return {
      active: 0,
    }
  },
}
</script>

<style lang="less" scoped></style>
